﻿using System;
using System.Collections.Generic;

namespace LibraryManagementSystem.Models;

/// <summary>
/// 图书预约表
/// </summary>
public partial class Reservation
{
    /// <summary>
    /// 预约ID，主键，自增
    /// </summary>
    public int Id { get; set; }

    /// <summary>
    /// 会员ID，外键
    /// </summary>
    public int MemberId { get; set; }

    /// <summary>
    /// 文献ID，外键
    /// </summary>
    public int LibraryItemId { get; set; }

    /// <summary>
    /// 预约日期
    /// </summary>
    public DateTime ReserveDate { get; set; }

    /// <summary>
    /// 预约状态
    /// </summary>
    public string Status { get; set; } = null!;

    public virtual Libraryitem LibraryItem { get; set; } = null!;

    public virtual Member Member { get; set; } = null!;
}
